package com.codefish.dto;

import com.codefish.entity.SysRoleEntity;

import java.io.Serializable;
import java.util.List;

/**
 * @Classname RoleDto
 * @Description TODO
 * @Date 2021/5/3 15:31
 * @Created 学兔斯基眯眼看世界
 */
public class RoleDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private SysRoleEntity roleEntity;

    private List<Long> permissionIds;

    public SysRoleEntity getRoleEntity() {
        return roleEntity;
    }

    public void setRoleEntity(SysRoleEntity roleEntity) {
        this.roleEntity = roleEntity;
    }

    public List<Long> getPermissionIds() {
        return permissionIds;
    }

    public void setPermissionIds(List<Long> permissionIds) {
        this.permissionIds = permissionIds;
    }

    @Override
    public String toString() {
        return "RoleDto{" +
                "roleEntity=" + roleEntity +
                ", permissionIds=" + permissionIds +
                '}';
    }
}
